cmake_minimum_required(VERSION 3.16)
project(plugin)

set(CMAKE_CXX_STANDARD 14) 

set(CMAKE_BUILD_TYPE "Debug")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb -Wl,-rpath=.")

# header file path
include_directories(${HOME}/plugins)
aux_source_directory(${HOME}/plugins PLUGIN_SRC_LIST) # 不可以使用 . 相对路径, aux_source_directory(. PLUGIN_SRC_LIST)

# 加载子目录,
add_subdirectory(jd_plugin) 
add_subdirectory(qq_plugin) 
add_subdirectory(zhangxi123_plugin) 

 